//
//  AnimationIndicator.h
//  jipin
//
//  Created by lcb on 6/10/15.
//  Copyright (c) 2015 liuchengbin. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface AnimationIndicator : UIView
{
    UIImageView *imageView;
    UILabel *Infolabel;
}

@property (nonatomic, assign) NSString *loadtext;
@property (nonatomic, readonly) BOOL isAnimating;


//use this to init
- (id)initWithFrame:(CGRect)frame;
-(void)setLoadText:(NSString *)text;
- (void)startAnimation;
- (void)stopAnimation;
- (void)stopAnimationWithLoadText:(NSString *)text withType:(BOOL)type;

@end
